#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <signal.h>
#include <time.h>
#include "base/basic_types.h"
#include "base/mutex.h"

class Closure;
class Executor;

class Timer {
 public:
  static bool AddAfter(int64 usec, Closure* closure); 

 private:
  static void Handler(sigval_t value);
  static Mutex mutex_;
};
